home *** CD-ROM | disk | FTP | other *** search
- <!--- This example shows how to use LJustify --->
-
-
- <HTML>
- <HEAD>
- <TITLE>
- LJustify Example
- </TITLE>
- </HEAD>
-
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
- <H3>LJustify Function</H3>
-
- <CFPARAM name="NewString" default="CF Rocks!">
- <CFPARAM name="Length" default="30">
-
-
-
- <CFOUTPUT>
- <form>
- Ljustify()<br>
- <input type="button" name="button" value="#ljustify(NewString, Length)#"><br>
- Cjustify()<br>
- <input type="button" name="button" value="#cjustify(NewString, Length)#"><br>
- Rjustify()<br>
- <input type="button" name="button" value="#rjustify(NewString, Length)#"><br>
- </form>
- </cfoutput>
-
- Enter a string in one or both of the text boxes and see how the string or strings are justified,
- depending on the form of justification used.
- <FORM method="post" action="#GetFileFromPath(GetTemplatePath())#">
- <input type="text" name="NewString" value="">
- <input type="text" name="NewString" value="" size="3"><br>
- <input type="submit" name="submit" value="Change">
- </FORM>
-
- </BODY>
- </HTML>